package com.zqx.flyweight.enums;

public enum ColorEnum {
    BLACK(0,"黑色"),
    WHITE(1,"白色"),
    ;

    private Integer code;
    private String message;

    ColorEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
